module SGuns
{
	imports
	{
		Base,
	}
    item SSBox
	{
	    Type		=	Drainable,
		WorldStaticModel = SSB_Ground,
		UseDelta	=	0.20,
		Count 		= 1,
		Weight 		= 6.5,
		DisplayName 		= Shrapnel Shell Box,
		DisplayCategory 		= Item,
		Icon 		= SSBox,
		MetalValue 		= 1,
	}
	item MetalScraps
	{
		Count 		= 1,
		WorldStaticModel = MetalScraps_Ground,
		Weight 		= 0.02,
		Type 		= Normal,
		DisplayName 		= Metal Scraps,
		DisplayCategory 		= Ammo,
		Icon 		= MetalScraps,
		MetalValue 		= 1,
	}
	item ShrapnelShell
	{
		Count 		= 1,
		WorldStaticModel = ShrapnelShell_Ground,
		Weight 		= 0.04,
		Type 		= Normal,
		DisplayName 		= Shrapnel Shells,
		DisplayCategory 		= Ammo,
		Icon 		= ShrapnelShell,
		MetalValue 		= 1,
		ResizeWorldIcon 		= .50,
	}
	item HRMagazine
	{
		CanStack 		= TRUE,
		WorldStaticModel = HRMag_Ground,
		Weight 		= 0.3,
		Type 		= Normal,
		DisplayName 		= HR Magazine,
		Icon 		= HRMagazine,
		MaxAmmo 		= 18,
		AmmoType 		= SGuns.MetalScraps,
		StaticModel 		= GunMagazine,
		Tooltip    =    Tooltip_UsesMetalScraps,
	}
	item HPS
	{   
	    EquipSound = Fold,
		WorldStaticModel = HPS_Ground,
		UnequipSound = Fold,
		ImpactSound 		= BulletHit,
		MaxRange 		= 8,
		RangeFalloff 		= TRUE,
		WeaponSprite 		= HPS,
		SoundVolume 		= 55,
		MinAngle 		= 0.9,
		Type 		= Weapon,
		KnockBackOnNoDeath 		= TRUE,
		Ranged 		= TRUE,
		ProjectileCount 		= 5,
		ConditionLowerChanceOneIn 		= 15,
		Weight 		= 3.0,
		SplatNumber 		= 5,
		PushBackMod 		= 0.8,
		MaxDamage 		= 1.5,
		SubCategory 		= Firearm,
		AimingMod 		= 2,
		ConditionMax 		= 10,
		ShareDamage 		= FALSE,
		MaxHitCount 		= 4,
		IsAimedHandWeapon 		= TRUE,
		IsAimedFirearm 		= TRUE,
		DoorDamage 		= 60,
		UseEndurance 		= FALSE,
		DisplayName 		= Handmade Pump Shotgun,
		MinRange 		= 0.61,
		SwingTime 		= 0.1,
		AngleFalloff 		= TRUE,
		MultipleHitConditionAffected 		= FALSE,
		SwingSound 		= SGHPSSound,
		SoundRadius 		= 30,
		MinDamage 		= 0.7,
		KnockdownMod 		= 8,
		SplatBloodOnNoDeath 		= TRUE,
		Icon 		= HPS,
		RunAnim 		= Run_Weapon2,
		CriticalChance 		= 5,
		CritDmgMultiplier 		= 2,
		AimingPerkCritModifier 		= 4,
		HitChance 		= 60,
		AimingPerkHitChanceModifier 		= 15,
		RecoilDelay 		= 10,
		SoundGain 		= 2,
		ReloadTime 		= 10,
		AimingTime 		= 15,
		RequiresEquippedBothHands 		= TRUE,
		BreakSound 		= BreakingWeapon1,
		ShellFallSound 		= ShotgunShellHitGround,
		MetalValue 		= 50,
		TwoHandWeapon 		= TRUE,
		AmmoBox 		= ShotgunShellsBox,
		MaxAmmo 		= 6,
		InsertAmmoSound 		= StormyShotgunInsertRound,
		EjectAmmoSound 		= Stormy9mmClipEject,
		RackSound 		= SGHPSPump,
		AmmoType 		= SGuns.ShrapnelShell,
		WeaponReloadType 		= shotgun,
		RackAfterShoot 		= TRUE,
		JamGunChance 		= 6,
		AttachmentType 		= Rifle,
		RackAfterShoot 		= TRUE,
		haveChamber 		= TRUE,
		Tooltip    =    Tooltip_UsesShrapnelShells,
	}
	fixing Fix HPS
    {
       Require : HPS,

       Fixer : AirTank=1; MetalWelding=1,
       Fixer : GunParts=1; MetalWelding=7,
	   Fixer : GunParts=2; MetalWelding=5,
    }
	item HP
	{
	    EquipSound = M1911Equip,
		WorldStaticModel = HP_Ground,
		UnequipSound = M1911UnEquip,
		ImpactSound 		= BulletHit,
		MaxRange 		= 10,
		RangeFalloff 		= TRUE,
		WeaponSprite 		= HP,
		SoundVolume 		= 55,
		MinAngle 		= 0.9,
		Type 		= Weapon,
		KnockBackOnNoDeath 		= TRUE,
		Ranged 		= TRUE,
		ProjectileCount 		= 1,
		ConditionLowerChanceOneIn 		= 20,
		Weight 		= 1.0,
		SplatNumber 		= 5,
		PushBackMod 		= 0.8,
		MaxDamage 		= 0.5,
		SubCategory 		= Firearm,
		AimingMod 		= 2,
		ConditionMax 		= 10,
		ShareDamage 		= FALSE,
		MaxHitCount 		= 2,
		IsAimedHandWeapon 		= TRUE,
		IsAimedFirearm 		= TRUE,
		DoorDamage 		= 6,
		UseEndurance 		= FALSE,
		SwingAnim 		= Handgun,
		DisplayName 		= Handmade Pistol,
		MinRange 		= 0.31,
		SwingTime 		= 0.3,
		AngleFalloff 		= TRUE,
		MultipleHitConditionAffected 		= FALSE,
		SwingSound 		= SGHPSound,
		SoundRadius 		= 20,
		MinDamage 		= 0.3,
		KnockdownMod 		= 8,
		SplatBloodOnNoDeath 		= TRUE,
		Icon 		= HP,
		RunAnim 		= Run_Weapon2,
		CriticalChance 		= 20,
		CritDmgMultiplier 		= 2,
		AimingPerkCritModifier 		= 4,
		HitChance 		= 10,
		AimingPerkHitChanceModifier 		= 10,
		RecoilDelay 		= 10,
		SoundGain 		= 2,
		ReloadTime 		= 3,
		AimingTime 		= 10,
		RequiresEquippedBothHands 		= FALSE,
		BreakSound 		= BreakingWeapon1,
		ShellFallSound 		= ShotgunShellHitGround,
		MetalValue 		= 50,
		TwoHandWeapon 		= FALSE,
		AmmoBox 		= ShotgunShellsBox,
		MaxAmmo 		= 11,
		InsertAmmoSound 		= SGHPInsert,
		EjectAmmoSound 		= Stormy9mmClipEject,
		RackSound 		= SGHPRack,
		AmmoType 		= SGuns.MetalScraps,
		WeaponReloadType 		= shotgun,
		RackAfterShoot 		= FALSE,
		JamGunChance 		= 5,
		AttachmentType 		= Holster,
		haveChamber 		= FALSE,
		Tooltip    =    Tooltip_UsesMetalScraps,
	}
	fixing Fix HP
    {
       Require : HP,

       Fixer : AirTank=1; MetalWelding=1,
       Fixer : GunParts=1; MetalWelding=4,
	   Fixer : GunParts=2; MetalWelding=2,
    }
	item HDBS
	{
	    EquipSound = Fold,
		WorldStaticModel = HDBS_Ground,
		UnequipSound = Fold,
		ImpactSound 		= BulletHit,
		MaxRange 		= 8,
		RangeFalloff 		= TRUE,
		WeaponSprite 		= HDBS,
		SoundVolume 		= 50,
		MinAngle 		= 0.9,
		Type 		= Weapon,
		KnockBackOnNoDeath 		= TRUE,
		Ranged 		= TRUE,
		ProjectileCount 		= 10,
		ConditionLowerChanceOneIn 		= 15,
		Weight 		= 3.0,
		SplatNumber 		= 5,
		PushBackMod 		= 0.8,
		MaxDamage 		= 1.5,
		SubCategory 		= Firearm,
		AimingMod 		= 2,
		ConditionMax 		= 10,
		ShareDamage 		= FALSE,
		MaxHitCount 		= 8,
		IsAimedHandWeapon 		= TRUE,
		IsAimedFirearm 		= TRUE,
		DoorDamage 		= 120,
		UseEndurance 		= FALSE,
		DisplayName 		= Handmade Double Barrel Shotgun,
		MinRange 		= 0.61,
		SwingTime 		= 0.1,
		AngleFalloff 		= TRUE,
		MultipleHitConditionAffected 		= FALSE,
		SwingSound 		= SGHDBSSound,
		SoundRadius 		= 20,
		MinDamage 		= 1.0,
		KnockdownMod 		= 8,
		SplatBloodOnNoDeath 		= TRUE,
		Icon 		= HDBS,
		RunAnim 		= Run_Weapon2,
		CriticalChance 		= 5,
		CritDmgMultiplier 		= 2,
		AimingPerkCritModifier 		= 4,
		HitChance 		= 80,
		AimingPerkHitChanceModifier 		= 10,
		RecoilDelay 		= 10,
		SoundGain 		= 2,
		ReloadTime 		= 20,
		AimingTime 		= 15,
		RequiresEquippedBothHands 		= TRUE,
		BreakSound 		= BreakingWeapon1,
		ShellFallSound 		= ShotgunShellHitGround,
		MetalValue 		= 50,
		TwoHandWeapon 		= TRUE,
		AmmoBox 		= ShotgunShellsBox,
		MaxAmmo 		= 2,
		InsertAmmoSound 		= StormyShotgunInsertRound,
		EjectAmmoSound 		= Stormy9mmClipEject,
		AmmoType 		= SGuns.ShrapnelShell,
		WeaponReloadType 		= shotgun,
		RackAfterShoot 		= FALSE,
		JamGunChance 		= 0,
		AttachmentType 		= Rifle,
		haveChamber 		= FALSE,
		Tooltip    =    Tooltip_UsesShrapnelShells 	,
	}
	fixing Fix HDBS
    {
       Require : HDBS,

       Fixer : AirTank=1; MetalWelding=1,
       Fixer : GunParts=1; MetalWelding=4,
	   Fixer : GunParts=2; MetalWelding=2,
    }
	item HR
	{
	    EquipSound = Fold,
		WorldStaticModel = HR_Ground,
		UnequipSound = Fold, 
		ImpactSound 		= BulletHit,
		MaxRange 		= 20,
		WeaponSprite 		= HR,
		SoundVolume 		= 60,
		MinAngle 		= 0.45,
		Type 		= Weapon,
		MinimumSwingTime 		= 0.5,
		ToHitModifier 		= 1.5,
		NPCSoundBoost 		= 1.5,
		KnockBackOnNoDeath 		= TRUE,
		Ranged 		= TRUE,
		SwingAmountBeforeImpact 		= 0,
		ProjectileCount 		= 1,
		ConditionLowerChanceOneIn 		= 10,
		Weight 		= 3,
		SplatNumber 		= 5,
		PushBackMod 		= 0.3,
		SubCategory 		= Firearm,
		ConditionMax 		= 35,
		ShareDamage 		= FALSE,
		MaxHitCount 		= 1,
		IsAimedFirearm 		= TRUE,
		DoorDamage 		= 15,
		UseEndurance 		= FALSE,
		SwingAnim 		= Rifle,
		DisplayName 		= Handmade Rifle,
		MinRange 		= 0.61,
		SwingTime 		= 0.1,
		MultipleHitConditionAffected 		= FALSE,
		SwingSound 		= SGHRSound,
		SoundRadius 		= 25,
		MinDamage 		= 1,
		MaxDamage 		= 3,
		SplatSize 		= 4,
		KnockdownMod 		= 2,
		SplatBloodOnNoDeath 		= TRUE,
		Icon 		= HR,
		RunAnim 		= Run_Weapon2,
		IdleAnim 		= Idle_Weapon2,
		CriticalChance 		= 10,
		CritDmgMultiplier 		= 8,
		AimingPerkCritModifier 		= 12,
		HitChance 		= 12,
		AimingPerkHitChanceModifier 		= 10,
		AimingPerkMinAngleModifier 		= 0.01,
		AimingPerkRangeModifier 		= 3,
		RecoilDelay 		= 0,
		PiercingBullets 		= TRUE,
		SoundGain 		= 1.5,
		ReloadTime 		= 9,
		AimingTime 		= 25,
		RequiresEquippedBothHands 		= TRUE,
		BreakSound 		= BreakingWeapon1,
		MetalValue 		= 60,
		TwoHandWeapon 		= TRUE,
		AmmoBox 		= 223Box,
		MaxAmmo 		= 18,
		InsertAmmoSound 		= HRMagInsert1,
		EjectAmmoSound 		= HRMagRelease,
		RackSound 		= SGHRRack,
		AmmoType 		= SGuns.MetalScraps,
		WeaponReloadType 		= boltaction,
		MagazineType 		= SGuns.HRMagazine,
		JamGunChance 		= 6,
		AttachmentType 		= Rifle,
		Tooltip    =    Tooltip_UsesHRMag,
	}
	fixing Fix HR
    {
       Require : HR,

       Fixer : AirTank=1; MetalWelding=1,
       Fixer : GunParts=1; MetalWelding=7,
	   Fixer : GunParts=2; MetalWelding=5,
    }
	item HRB
	{
	    EquipSound = Fold,
		WorldStaticModel = HR_Ground,
		UnequipSound = Fold,
		MaxRange 		= 1.30,
		WeaponSprite 		= HR,
		MinAngle 		= 0.8,
		Type 		= Weapon,
		MinimumSwingTime 		= 1.7,
		KnockBackOnNoDeath 		= FALSE,
		SwingAmountBeforeImpact 		= 0.02,
		Categories 		= Improvised;Spear,
		ConditionLowerChanceOneIn 		= 10,
		Weight 		= 3,
		SplatNumber 		= 1,
		PushBackMod 		= 0.3,
		SubCategory 		= Spear,
		ConditionMax 		= 25,
		MaxHitCount 		= 2,
		DoorDamage 		= 10,
		SwingAnim 		= Spear,
		DisplayName 		= HR (Using Bayonett),
		MinRange 		= 0.68,
		SwingTime 		= 2,
		KnockdownMod 		= 0,
		SplatBloodOnNoDeath 		= FALSE,
		Icon 		= HRB,
		RunAnim 		= Run_Weapon2,
		IdleAnim 		= Idle_Weapon2,
		BreakSound 		= BreakingWeapon,
		TreeDamage 		= 12,
		TwoHandWeapon 		= TRUE,
		CriticalChance 		= 10,
		CritDmgMultiplier 		= 4,
		MinDamage 		= 1.3,
		MaxDamage 		= 2.2,
		DamageCategory 		= Slash,
		DamageMakeHole 		= TRUE,
		HitFloorSound 		= BladeHit,
		ImpactSound 		= BladeHit,
		HitSound 		= BladeHit,
		AttachmentType 		= Rifle,
		Tooltip    =    Tooltip_UsesHRMag,
	}
	fixing Fix HRB
    {
       Require : HRB,

       Fixer : AirTank=1; MetalWelding=1,
       Fixer : GunParts=1; MetalWelding=7,
	   Fixer : GunParts=2; MetalWelding=5,
    }
}
